package com.zkzx.driver.mapper;

import com.zkzx.driver.mapper.entity.DriverLicense;
import com.zkzx.driver.mapper.entity.DriverLicenseExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DriverLicenseMapper {
    long countByExample(DriverLicenseExample example);

    int deleteByExample(DriverLicenseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DriverLicense record);

    int insertSelective(DriverLicense record);

    List<DriverLicense> selectByExample(DriverLicenseExample example);

    DriverLicense selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DriverLicense record, @Param("example") DriverLicenseExample example);

    int updateByExample(@Param("record") DriverLicense record, @Param("example") DriverLicenseExample example);

    int updateByPrimaryKeySelective(DriverLicense record);

    int updateByPrimaryKey(DriverLicense record);
}